#!/bin/bash
set -e
set -x
MYDIR="${0%/*}"
cd "$MYDIR/.."
source "recipes/common.sh"


# RECIPE START gettext

reset_mtime gettext gettext/configure.ac
mkdir -p build/gettext
cd build/gettext
cat > config.cache <<-EOF
gl_cv_func_wcwidth_works=yes
EOF

../../gettext/configure \
	${CONFIGURE_ARGS} \
	--with-sysroot="$stage/$prefix" \
	${AUTOCRAP_KLUDGE}

cd ../..
make_build build/gettext

# RECIPE END gettext
